<!--
 * @Author: Soulmate
 * @Date: 2023-11-15 08:53:34
 * @LastEditTime: 2023-11-17 14:21:30
 * @LastEditors: Soulmate
 * @Description: 
 * @FilePath: \electron-app\src\App.vue
 * 版权声明
-->
<script setup lang="ts">
import zhCn from 'element-plus/dist/locale/zh-cn.mjs';
import en from 'element-plus/dist/locale/en.mjs';
const language = ref('zh-cn');
const locale = computed(() => (language.value === 'zh-cn' ? zhCn : en));
</script>

<template>
    <el-config-provider :locale="locale">
        <router-view></router-view>
    </el-config-provider>
</template>

<style scoped lang="scss"></style>
